package com.lgy.ms.service.dao;

import com.lgy.ms.core.dto.SysUserDTO;

import java.util.List;

public interface SysUserDao {
    int deleteByPrimaryKey(String userId);

    int insert(SysUserDTO record);

    int insertSelective(SysUserDTO record);

    SysUserDTO selectByPrimaryKey(String userId);

    int updateByPrimaryKeySelective(SysUserDTO record);

    int updateByPrimaryKey(SysUserDTO record);

    SysUserDTO selectByPhone(String phone);

    SysUserDTO selectByUserName(String userName);

    List<SysUserDTO> queryByPage(SysUserDTO sysUserDTO);
}